package com.hjq.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjq.common.utils.PageUtils;
import com.hjq.mallproduct.entity.SpuInfoDescEntity;
import com.hjq.mallproduct.entity.SpuInfoEntity;
import com.hjq.mallproduct.entity.vo.SpuSaveVO;

import java.math.BigDecimal;
import java.util.Map;

/**
 * spu信息
 *
 * @author Hjq
 * @email 1484397309@qq.com.com
 * @date 2022-05-24 13:33:42
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVO spuInfo);

    void saveBaseInfo(SpuInfoEntity spuInfoEntity);


    PageUtils queryPageByCondition(Map<String, Object> params);

    void upSpuInfoToES(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}



